Skip to content

Ruby221, idempotent compilation steps#5

Open
duhast wants to merge 3 commits into
jlund:masterfrom
duhast:master
Open

Ruby221, idempotent compilation steps#5
duhast wants to merge 3 commits into
jlund:masterfrom
duhast:master

Conversation

@duhast

@duhast duhast commented Mar 27, 2015

Copy link
Copy Markdown

Hi! Compilation of Ruby 2.2.1 failed for me with the following error:

/usr/bin/ld: ./libffi-3.2.1/.libs/libffi.a(raw_api.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
./libffi-3.2.1/.libs/libffi.a: error adding symbols: Bad value

So I found a solution here and had to update this role.

Also I've divided install-ruby.sh script into plain idempotent ansible tasks.

Also looking forward to create a PR to solve #3 some day.

@duhast

duhast commented Mar 17, 2016

Copy link
Copy Markdown
Author

@jlund any update here?

@jlund

jlund commented Mar 18, 2016

Copy link
Copy Markdown
Owner

Wow! I must have completely missed this, and I'm sorry about that.

This looks really nice. I'll try to find some time to test it tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants